package com.br4mmie.asciistory.graphics;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;

import android.opengl.GLSurfaceView;

public class WorldRenderer implements GLSurfaceView.Renderer 
{
	static
	{
		System.loadLibrary("WorldRenderer");
	}
	
	public native void onDrawFrame(GL10 gl); 
	public native void onSurfaceChanged(GL10 gl, int width, int height); 
	public native void onSurfaceCreated(GL10 gl, EGLConfig config);
	
	public native void setMap(String map);
	public native void setCameraLock(int x, int y);
	public native void addMapObject(String object, int x, int y);
}
